                  <div class="clearfix" id="sidebar-narrow-container">
			
				
				<!-- BEGIN .sidebar-narrow -->
				<div class="sidebar-narrow alignleft">
				
					<div class="widget tz_ad120x240_widget" id="tz_ad120x240_widget-2">
						<h3 class="widget-title">Categories</h3>
						<ul>
                                                  
                                                  <% @channels.each do |item| %>
							<li><a title="August 2010" href="<%= url_for({:action => "channel", :c_id => item.id}) %>"><%= item.title %></a></li>							
                                                  <% end %>
                                                  
						</ul>
					</div>
				<!-- END .sidebar-narrow -->
				</div>		
			
			
				<!-- BEGIN .sidebar-narrow -->
				<div class="sidebar-narrow alignright">

				
					<div class="widget widget_archive" id="archives-2"><h3 class="widget-title">Archives</h3>
						<ul>
							<li><a title="August 2010" href="">August 2010</a></li>
							<li><a title="July 2010" href="">July 2010</a></li>
							<li><a title="June 2010" href="">June 2010</a></li>
						</ul>
					</div>
					
				<!-- END .sidebar-narrow -->

				</div>
				
				
				
			
			<!-- END .sidebar-narrow -->
			</div>
		
		
		
			
			
			
			<div id="tz_tab_widget-2" class="widget tz_tab_widget">
				<div id="tabs">
					<ul id="tab-items">
						<li class="active"><a href="#tabs-1"><span>Popular</span></a></li><li><a href="#tabs-2"><span>Recent</span></a></li>
                                        </ul>
                                        <div class="tabs-inner">
						
						
                                          <div id="tabs-1" class="tab tab-popular">
                                            <ul>
                                              
                                              <% @popular_posts.each do |item| %>
                                              
						<li class="clearfix">
                                                  <div class="tab-thumb">
						    <a href="" class="thumb">
                                                      <img width="55" height="55" src="<%= url_for({:controller => 'images', :action => 'thumbnail', :id => item.image_id, :size => "tiny"}) %>" class="attachment-post-thumbnail wp-post-image" alt="<%= item.title %>" title="<%= item.title %>" />
                                                    </a>
						  </div>
						  <h3 class="entry-title"><a href="<%= url_for({:controller => 'articles', :action => 'details', :id => item.id}) %>" class="title"><%= item.title %></a></h3>

							<div class="entry-meta entry-header">
								By <%= item.user.profile.name %><br />
								<span class="published"><%= item.created_at.strftime("%B %d, %Y") %></span>
								<span class="meta-sep">&middot;</span>
								<span class="comment-count"><a href="" title="Comment on <%= item.title %>">0 Comments</a></span>

							</div>
						</li>
					      
                                            <% end %>
                                            
                                            </ul>
                                          </div><!-- #tabs-1 -->
                                        
                                        
                                        <div id="tabs-2" class="tab tab-recent">
                                          <ul>
                                            
                                            <% @popular_posts.each do |item| %>
                                              
						<li class="clearfix">
                                                  <div class="tab-thumb">
						    <a href="" class="thumb">
                                                      <img width="55" height="55" src="<%= url_for({:controller => 'images', :action => 'thumbnail', :id => item.image_id, :size => "tiny"}) %>" class="attachment-post-thumbnail wp-post-image" alt="<%= item.title %>" title="<%= item.title %>" />
                                                    </a>
						  </div>
						  <h3 class="entry-title"><a href="<%= url_for({:controller => 'articles', :action => 'details', :id => item.id}) %>" class="title"><%= item.title %></a></h3>

							<div class="entry-meta entry-header">
								By <%= item.user.profile.name %><br />
								<span class="published"><%= item.created_at.strftime("%B %d, %Y") %></span>
								<span class="meta-sep">&middot;</span>
								<span class="comment-count"><a href="" title="Comment on <%= item.title %>">0 Comments</a></span>

							</div>
						</li>
					      
                                            <% end %>
                                          
                                          
                                          </ul></div><!-- #tabs-2 -->
                                    
                                    
                                    
                                    
                                      
                                      
                                      
                                      
					
					
					</div><!-- .tabs-inner -->
				</div><!-- #tabs -->
			</div>
			
			
			
			
			